package com.samebuilding.domain;

/**
 * Gift entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Gift implements java.io.Serializable {

	// Fields

	private Integer code;
	private String name;
	private Integer price=0;
	private String photo;
	private Integer giftCategoryCode;

	// Constructors

	/** default constructor */
	public Gift() {
	}

	/** minimal constructor */
	public Gift(String name) {
		this.name = name;
	}

	/** full constructor */
	public Gift(String name, Integer price, String photo,
			Integer giftCategoryCode) {
		this.name = name;
		this.price = price;
		this.photo = photo;
		this.giftCategoryCode = giftCategoryCode;
	}

	// Property accessors

	public Integer getCode() {
		return this.code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}



	public Integer getPrice() {
		return price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public Integer getGiftCategoryCode() {
		return this.giftCategoryCode;
	}

	public void setGiftCategoryCode(Integer giftCategoryCode) {
		this.giftCategoryCode = giftCategoryCode;
	}

}